<?php


namespace App\Http\Services\FormBuilder\Segments;


use App\Http\Services\FormBuilder\Elements\InputWrapper;
use App\Http\Services\FormBuilder\Elements\Text;

class MoneyInput extends InputWrapper
{
    private $interval;

    public function __construct(Text $text)
    {
        $this->controls[] = $text;
    }

//    public function render()
//    {
//        return '';
//    }

    public function unit($unit)
    {

    }

    public function interval($interval)
    {
        $this->interval = $interval;

        return $this;
    }
}